From: Miles Bader Date: Fri, 27 Dec 2002 04:08:28 +0000 (+0000) Subject: (Info-complete-menu-item): Make `Info-complete-cache' a buffer-local variable. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~29077 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=c8875e680e7de294eacadc401be4ede47e922dd6;p=emacs.git (Info-complete-menu-item): Make `Info-complete-cache' a buffer-local variable. --- diff --git a/lisp/info.el b/lisp/info.el index 836c8287ebe..ed323d6e7f0 100644 --- a/lisp/info.el +++ b/lisp/info.el @@ -1543,9 +1543,9 @@ FOOTNOTENAME may be an abbreviation of the reference name." (unless (equal Info-current-node orignode) (Info-goto-node orignode)) ;; Update the cache. - (setq Info-complete-cache - (list Info-current-file Info-current-node - Info-complete-next-re string completions))) + (set (make-local-variable 'Info-complete-cache) + (list Info-current-file Info-current-node + Info-complete-next-re string completions))) (if action (all-completions string completions predicate) (try-completion string completions predicate)))))))